/**
 */
package org.karelun.whiteboard.impl;

import org.eclipse.emf.ecore.EClass;

import org.karelun.whiteboard.ShapeType;
import org.karelun.whiteboard.SpecialShape;
import org.karelun.whiteboard.WhiteboardPackage;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Special Shape</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link org.karelun.whiteboard.impl.SpecialShapeImpl#getType <em>Type</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class SpecialShapeImpl extends ShapeImpl implements SpecialShape {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SpecialShapeImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return WhiteboardPackage.Literals.SPECIAL_SHAPE;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ShapeType getType() {
		return (ShapeType)eGet(WhiteboardPackage.Literals.SPECIAL_SHAPE__TYPE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setType(ShapeType newType) {
		eSet(WhiteboardPackage.Literals.SPECIAL_SHAPE__TYPE, newType);
	}

} //SpecialShapeImpl
